package zhu.areas.dic.data;

import java.util.HashSet;
import java.util.Set;


/**
 * @hibernate.class  table="D_TeamPubType"   dynamic-insert="true"  dynamic-update="true"
 * @author Administrator
 *
 */
public class TeamPubType {

	private int teamPubTypeID;
	
	private String teamPubTypeName;
	
	private Set teamNotice = new HashSet(0);

	public TeamPubType(){}
	
	public TeamPubType(int teamPubTypeID){
		this.teamPubTypeID=teamPubTypeID;
	}
	
	/**
	 * @hibernate.id column="TeamPubTypeID"  generator-class="increment"  unsaved-value="null"
	 * @return
	 */
	public int getTeamPubTypeID() {
		return teamPubTypeID;
	}

	public void setTeamPubTypeID(int teamPubTypeID) {
		this.teamPubTypeID = teamPubTypeID;
	}

	
	/**
	 * @hibernate.property column = "TeamPubTypeName"     not-null="true"
	 * @return
	 */
	public String getTeamPubTypeName() {
		return teamPubTypeName;
	}

	public void setTeamPubTypeName(String teamPubTypeName) {
		this.teamPubTypeName = teamPubTypeName;
	}

	/**
	 * @hibernate.set table="T_TeamNotice" inverse="true" lazy="false"
	 * @hibernate.collection-key column="TeamPubType"
	 * @hibernate.collection-one-to-many class="zhu.areas.team.data.TeamNotice"
	 *                                  
	 */
	public Set getTeamNotice() {
		return teamNotice;
	}

	public void setTeamNotice(Set teamNotice) {
		this.teamNotice = teamNotice;
	}

	
}
